import request from "@/utils/request.js";
import utils from "@/utils/utils.js"
export default{
	getTypeList(params) {
		return request({
			url: 'system/type/list?' + utils.jsonToQuery(params),
			method: 'get',
			data: params
		})
	},
	getList(params) {
		return request({
			url: 'system/goods/wechat/list?' + utils.jsonToQuery(params),
			method: 'get',
			data: params
		})
	},
	detail(params) {
		return request({
			url: 'system/goods/info/' + params.id,
			method: 'get',
			data: params
		})
	},
	jmDetail(params) {
		return request({
			url: 'system/jm/info/' + params.id,
			method: 'get',
			data: params
		})
	},
	getJMList(params) {
		return request({
			url: 'system/jm/list?' + utils.jsonToQuery(params),
			method: 'get',
			data: params
		})
	}
}